<%inherit file="/base/monadmin.html"/>

<%def name="dom_ready()" >\
	var MA_adm_list = Object.create(ListController);
	MA_adm_list.container = $('#MA_adm_list_container');
	MA_adm_list.click = false;
	MA_adm_list.set_title('Admins:');
	MA_adm_list.set_link('manage_admins', 'Edit site/service access');
	MA_adm_list.links.find('#manage_admins').attr('href', '/monadmin/acl/admins');
	MA_adm_list.cursor = 'default';
	MA_adm_list.init('MA_adm_list', '/monadmin/acl/getadms');
	
	var MA_service_list = Object.create(ListControllerSub);
	MA_service_list.container = $('#MA_site_list_container');
	MA_service_list.click = false;
	MA_service_list.set_title('Sites and Services:');
	MA_service_list.set_link('manage_sites', 'Edit admin access');
	MA_service_list.links.find('#manage_sites').attr('href', '/monadmin/acl/siteservices');
	MA_service_list.cursor = 'default';
	MA_service_list.init('MA_service_list', '/monadmin/acl/getservices');
	
	var MA_sft_list = Object.create(ListController);
	MA_sft_list.container = $('#MA_sft_list_container');
	MA_sft_list.click = false;
	MA_sft_list.set_title('SFTs:');
	MA_sft_list.set_link('manage_sfts', 'Manage SFTs');
	MA_sft_list.links.find('#manage_sfts').attr('href', '/monadmin/sft/edit');
	MA_sft_list.cursor = 'default';
	MA_sft_list.init('MA_sft_list', '/monadmin/sft/listsfts');
</%def>

<div id="MA_adm_list_container"></div>
<div id="MA_site_list_container"></div>
<div id="MA_sft_list_container"></div>
